package Cn.Sarkar.IMS.DataBaseDefinations

import Cn.Sarkar.Entities.Common.Table
import Cn.Sarkar.EntityDream.CoreEngine.RDBMS.Core.Extensions.comment
import Cn.Sarkar.EntityDream.CoreEngine.RDBMS.Core.Extensions.floatColumn
import Cn.Sarkar.EntityDream.CoreEngine.RDBMS.Core.Extensions.intColumn
import Cn.Sarkar.EntityDream.CoreEngine.RDBMS.Core.Extensions.reference

object StorageRoomItems : Table("StorageRoomItem") {
    override var Comment: String = "مەھسۇلات ئامبىرىدىكى ھەر بىر مەھسۇلات"
    val ApplicationDomainID = intColumn("ApplicationDomainID") reference IMSApplicationDomains.ID comment "Application Domain"
    val StorageRoomID = intColumn("StorageRoomID") reference StorageRooms.ID comment "بۇ ئامباردىكى مەھسۇلات تەۋە ئامبار"
    var Count = floatColumn("Count") comment "سانى"
    override val CATEGORY: Int = 22
}